package richbar.com.richbar.bean;

import com.common.base.BaseResult;

/**
 * Created by QiYang on 2018/12/5.
 */

public class PriceResult extends BaseResult {

    /**
     * code : 200
     * msg : 请求成功
     * data : {"goods_id":9,"goods_price":"187.00","goods_stock":123}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity {
        /**
         * goods_id : 9
         * goods_price : 187.00
         * goods_stock : 123
         */

        private int goods_id;
        private String goods_price;
        private int goods_stock;

        public int getGoods_id() {
            return goods_id;
        }

        public void setGoods_id(int goods_id) {
            this.goods_id = goods_id;
        }

        public String getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(String goods_price) {
            this.goods_price = goods_price;
        }

        public int getGoods_stock() {
            return goods_stock;
        }

        public void setGoods_stock(int goods_stock) {
            this.goods_stock = goods_stock;
        }
    }
}
